package com.lwj.springboot.mapper;

import com.lwj.springboot.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created by LiWeijie on 2019/1/23.
 */
@Mapper
public interface UserMapper {

    void add(User user);

    List<User> listAll(User user);
}
